#include"TLinkableAdapter.h"
#include<iostream>
using namespace std;

TLinkableAdapter::TLinkableAdapter(){
	_previous=NULL;
	_next=NULL;
}

TLinkable* TLinkableAdapter::getNext(){
	return _next;
}

TLinkable* TLinkableAdapter::getPrevious(){
	return _previous;
}

void TLinkableAdapter::setNext(TLinkable* linkable){
	_next=linkable;
}

void TLinkableAdapter::setPrevious(TLinkable* linkable){
	_previous=linkable;
}
